import json

from utils import Download


def dowload(url, dirname='4.7kjpn'):
    download = Download(url, dirName=dirname)
    download.start()


with open('4.7kjpn.json', 'r') as f:
    data_source = json.load(f)

for i in data_source['urls']:
    dowload(i)
